home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Memory / Erotic Games: Memory.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / mx / events / IndexChangedEvent.as < prev    next >
Text File  |  2009-02-12  |  1KB  |  44 lines

  1. package mx.events
  2. {
  3.    import flash.display.DisplayObject;
  4.    import flash.events.Event;
  5.    import mx.core.mx_internal;
  6.    
  7.    use namespace mx_internal;
  8.    
  9.    public class IndexChangedEvent extends Event
  10.    {
  11.       
  12.       public static const HEADER_SHIFT:String = "headerShift";
  13.       
  14.       public static const CHANGE:String = "change";
  15.       
  16.       mx_internal static const VERSION:String = "3.0.0.0";
  17.       
  18.       public static const CHILD_INDEX_CHANGE:String = "childIndexChange";
  19.        
  20.       
  21.       public var newIndex:Number;
  22.       
  23.       public var triggerEvent:Event;
  24.       
  25.       public var relatedObject:DisplayObject;
  26.       
  27.       public var oldIndex:Number;
  28.       
  29.       public function IndexChangedEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:DisplayObject = null, param5:Number = -1, param6:Number = -1, param7:Event = null)
  30.       {
  31.          super(param1,param2,param3);
  32.          this.relatedObject = param4;
  33.          this.oldIndex = param5;
  34.          this.newIndex = param6;
  35.          this.triggerEvent = param7;
  36.       }
  37.       
  38.       override public function clone() : Event
  39.       {
  40.          return new IndexChangedEvent(type,bubbles,cancelable,relatedObject,oldIndex,newIndex,triggerEvent);
  41.       }
  42.    }
  43. }
  44.